/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package excecoes.pessoa;

/**
 *
 * @author iigorconrado
 */
public class NomeFantasiaNuloException extends Exception {

    /**
     * Creates a new instance of <code>NomeFantasiaNuloException</code> without detail message.
     */
    public NomeFantasiaNuloException() {
        super("O nome fantasia não deve ser nulo.");
    }

    /**
     * Constructs an instance of <code>NomeFantasiaNuloException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public NomeFantasiaNuloException(String msg) {
        super(msg);
    }
}
